<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<head> 
<title>我的发布</title>

<link href="css/myGoods.css" rel="stylesheet" type="text/css">
<script src="js/jquery-3.1.0.min.js"></script>

<script type="text/javascript" src="js/myGoods.js"></script>

</head>

</head>
<body>
    <div id="main">
        <div class="box">
        
        <div class="up">
        <form action=""  method="post" id="mss" enctype="multipart/form-data">
               <table border="0">
                    <tr><td><h2>修改信息</h2></td></tr>
					<tr>
						<td style="height:40px;">物品的名称：</td>
						<td><input type="text" name="good.goodName" placeholder="中文，英文，数字  1-12长度" id="name"/><span id="ms1"></span>
						</td>
					</tr>
					<tr>
						<td style="height:40px;">类&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;型：</td>
						<td><select name="good.type" id="types">
								<option value=1>电子产品</option>
								<option value=2>服装服饰</option>
								<option value=3>美妆饰品</option>
								<option value=4>食品饮料</option>
								<option value=5>婴幼用品</option>
								<option value=6>文学著作</option>
						</select></td>
					</tr>
					<tr></tr>
					<tr> 
						<td style="height:40px;">数&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;量：</td>
						<td  style="vertical-align:top;height:40px;">
						   <a id="de"><img src="img/de.png" width="25px" height="25px"></a>
						   <span style="font-size:22px;margin-bottom:15px;" id="count">0</span>
						   <a id="ad"><img src="img/ad.png" width="25px" height="25px"></a><span id="ms5"></span>
						</td>
					</tr>
					<tr></tr>
					<tr>
						<td style="vertical-align:top;">详 细 描 述：</td>
						<td><textarea rows="8" cols="60" name="good.briefing" id="detail"></textarea>
						<br/><br/><span id="ms2"></span>
						</td>
					</tr>
					<tr></tr>
			        <tr>
					     <td style="vertical-align:top;"><div id="p02">添 加 图 片：</div></td>
					     <td style="vertical-align:top;"><div id="p02">
					       <img id="pic" src="img/addjpg.jpg" /><br/>
					       <span id="ms4">图片大小不能超过2M</span></div>
                           <input id="upload" name="image" type="file" style="display:none"/>
					     </td>
					</tr>	
	
					<tr>
						<td style="height:40px;">估&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;价：</td>
						<td style="height:40px;"><input type="text" name="good.price" id="price" placeholder="数字，小数点，最多两位小数   不能为负"/>  RMB
						<span id="ms3"></span>
						</td>
					</tr>
					<tr></tr>
					<tr>
					    <td></td>
						<td style="height:40px;"><input type="button" value="更            新" id="type1" style="width:30%"/>
						<input type="button" value="下            架 " id="type3" style="width:30%" onclick=""/>
						<input type="button" value="取            消 " id="type2" style="width:30%"/></td>
					</tr>
				</table>     
			</form>    
        </div>
        
       
        
        
             <div class="tag">
                   <a onclick="getAll()">所有发布</a>
                   <a onclick="getSale()">代购信息</a>
                   <a onclick="getBuy()">求购信息</a>
                   <div class="ad" id="add"> 
                   <a>添加发布</a>      
                   <div class="put" id="dwon">
                   <ul >
                       <li><a href="addBuyGoods.jsp"  target="_parent">发布求购信息</a></li>
                       <li> <a href="addSaleGoods.jsp" target="_parent">发布代购信息</a></li>
                   </ul>
                   </div>
                    </div>
                  </div>
           
             <div class="show" id="here">
             
            </div>
    </div>
    </div>
	 
</body>